package es.udc.emarketapp.emarket.model.seller.vo;

import es.udc.emarketapp.emarket.model.user.vo.UserVO;
import java.io.Serializable;

public class SellerVO extends UserVO implements Serializable {

    private static final long serialVersionUID = 1L;
    private String idVendedor;
    //idUsuario
    private String nomEmp;
    private String nRegMerc;
    private String fax;
    private String iban;
    private String swift;

    public SellerVO(String idVendedor, String pass, String nomPila, String ap1,
            String ap2, String nifCif, String dir, String ciudad, String cp,
            String prov, String pais, String email, String tlf1, String tlf2,
            String tipoUsuario, boolean aprobado, boolean valido, String nomEmp,
            String nRegMerc, String fax, String iban, String swift) {

        super(idVendedor, pass, nomPila, ap1,
                ap2, nifCif, dir, ciudad, cp,
                prov, pais, email, tlf1, tlf2,
                tipoUsuario, aprobado, valido);

        this.idVendedor = idVendedor;
        this.nomEmp = nomEmp;
        this.nRegMerc = nRegMerc;
        this.fax = fax;
        this.iban = iban;
        this.swift = swift;
    }

    public String getIdVendedor() {
        return idVendedor;
    }

    public String getFax() {
        return fax;
    }

    public void setFax(String fax) {
        this.fax = fax;
    }

    public String getIban() {
        return iban;
    }

    public void setIban(String iban) {
        this.iban = iban;
    }

    public String getnRegMerc() {
        return nRegMerc;
    }

    public void setnRegMerc(String nRegMerc) {
        this.nRegMerc = nRegMerc;
    }

    public String getNomEmp() {
        return nomEmp;
    }

    public void setNomEmp(String nomEmp) {
        this.nomEmp = nomEmp;
    }

    public String getSwift() {
        return swift;
    }

    public void setSwift(String swift) {
        this.swift = swift;
    }

    @Override
    public String toString() {
        return "sellerVO{" + "idVendedor=" + idVendedor
                + "nomEmp=" + nomEmp + "nRegMerc="
                + nRegMerc + "fax=" + fax + "iban="
                + iban + "swift=" + swift + '}';
    }
}
